package com.ljb.baseadapter_demo.adapter.lv;

import android.content.Context;

import com.ljb.baseadapter_demo.bean.ChatMessage;
import com.ljb.baseadapter_listview.MutiItemTypeAdapter;

import java.util.List;

/**
 * Created by lijianbin on 2016/12/14.
 */
public class ChartAdapter extends MutiItemTypeAdapter<ChatMessage> {

    public ChartAdapter(Context context, List datas) {
        super(context, datas);
        addItemViewTemplate(new MsgFromItemTemplate());
        addItemViewTemplate(new MsgSendItemTemplate());
    }
}
